﻿Public Class ExcuteEntity

    '无参构造方法
    Public Sub New()
    End Sub
    '有参构造方法
    Public Sub New(ByVal tableName As String, ByVal excuteType As ExcuteTypeEnum)
        Me.TableName = tableName
        Me.ExcuteType = excuteType
    End Sub

    Public ExcuteFileds As List(Of FieldEntity) '执行字段

    Public WhereFileds As List(Of FieldEntity) '条件

    Public TableName As String

    Public ExcuteType As ExcuteTypeEnum

    ''' <summary>
    '''  条件sql 例如：a in (c,d)适用于复杂条件
    ''' </summary>
    ''' <remarks></remarks>
    Public strWhere As String

    Public Enum ExcuteTypeEnum
        select_ = 1
        selectAll = 2
        insert = 3
        update = 4
        del = 5
    End Enum
End Class
